//
//  WayModelDateView.h
//  WayService
//
//  Created by WillyZhao on 16/8/12.
//  Copyright © 2016年 Johnny. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "WayModelPickerView.h"

typedef void(^closeBtnBlock)();
typedef void(^sureBtnBlock)(NSString *str);

@interface WayModelDateView : UIView

@property (nonatomic, strong) WayModelPickerView *pickerView;

@property (nonatomic, assign) sureBtnBlock sure_block;

@property (nonatomic, assign) WayModelPickerViewStyle style;

-(instancetype)initWithFrame:(CGRect)frame AndStyle:(WayModelPickerViewStyle)style WithData:(NSArray *)dataSource;

-(void)show;
-(void)dismiss;

@end
